<?php
namespace DesignPatterns\Structural\DecoratorTwo;

class Mocha extends Dressing {
    public function __construct(Coffee $coffee) {
        parent::__construct($coffee);
    }

    public double cost() {
        return $this->coffee->cost() + 0.5;
    }
}
